﻿using System;
using System.Diagnostics;
using System.Windows.Forms;
using LoLHQ.Properties;

namespace LoLHQ
{
    public partial class AboutForm : Form
    {
        public AboutForm()
        {
            InitializeComponent();

            lVersion.Text = "version " + Settings.Default.Version;
            linkLabel1.Text = Settings.Default.Homepage;
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start(Settings.Default.Homepage);
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
        }
    }
}
